package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 点赞关注收藏对象 hjly_attention
 * 
 * @author ruoyi
 * @date 2022-03-11
 */
public class HjlyAttention extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Integer atId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 发布帖子的用户名称 */
    @Excel(name = "发布帖子的用户名称")
    private String nickName;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer age;

    /** 性别 0男 1女 */
    @Excel(name = "性别 0男 1女")
    private String sex;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /**  来源 1用户 2红娘 */
    @Excel(name = " 来源 1用户 2红娘")
    private String sourceType;

    /** 目标id */
    @Excel(name = "目标id")
    private String targetId;

    /** 关系类型：1-关注；2-收藏；3-点赞； */
    @Excel(name = "关系类型：1-关注；2-收藏；3-点赞；")
    private String relationType;

    /** 类型：1-用户；2-动态；3-活动 4-新闻 */
    @Excel(name = "类型：1-用户；2-动态；3-活动 4-新闻")
    private String collectType;

    /** 删除标识：0-未删除；1-已删除 */
    @Excel(name = "删除标识：0-未删除；1-已删除")
    private String disabled;

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }

    public void setAtId(Integer atId)
    {
        this.atId = atId;
    }

    public Integer getAtId() 
    {
        return atId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setTargetId(String targetId) 
    {
        this.targetId = targetId;
    }

    public String getTargetId() 
    {
        return targetId;
    }
    public void setRelationType(String relationType) 
    {
        this.relationType = relationType;
    }

    public String getRelationType() 
    {
        return relationType;
    }
    public void setCollectType(String collectType) 
    {
        this.collectType = collectType;
    }

    public String getCollectType() 
    {
        return collectType;
    }
    public void setDisabled(String disabled) 
    {
        this.disabled = disabled;
    }

    public String getDisabled() 
    {
        return disabled;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("atId", getAtId())
            .append("userId", getUserId())
            .append("targetId", getTargetId())
            .append("relationType", getRelationType())
            .append("collectType", getCollectType())
            .append("disabled", getDisabled())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
